<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>微店用户管理-店铺设置</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<% include("/admin/resource/common_css.html"){} %>
		<script type="text/javascript">
		function del(){
		    if(confirm("此用户未购买店铺资格，确认继续开通？")){
			    var 
		        window.location = "${ctx!}/admin/shop/user/update/";//跳转
		    }else{
		        return;
		    }
		}
		</script>
	</head>
	<body>
		<% include("/admin/common/header.html"){} %>
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>
			<div class="main-container-inner">
			  <% include("/admin/common/menu.html",{currentstr:"用户"}){} %>
				<div class="main-content">
				   <% include("/admin/common/breadcrumb.html",{breadaddfirst:"微店用户管理",breadaddsecond:"店铺信息管理"}){} %>
					<div class="page-content" id="content">
					  <form action="${ctx}/admin/shop/setshop/list" method="post">
				           <table>

						   </table>
					   </form>
				      <div id="shoplist" style="margin-top: 40px;">
						<table class="table table-striped table-bordered table-hover">
							<thead>
							<tr>
								<th>店铺名称</th>
								<th>店铺微信号</th>
								<th>店铺公众号</th>
								<th>店铺手机号</th>
								<th>QQ号</th>
								<th width="200">操作</th>
							</tr>
							</thead>
							<%for(shop in shoplists.list){%>
								<tr>
									<td>
									   <input type="hidden" class="jsonData"  value='{"id":"${shop.id!}","shopname":"${shop.shopname!}","website":"${shop.website!}"
									   ,"micro_signal":"${shop.micro_signal!}","public_no":"${shop.public_no!}","iphone_no":"${shop.iphone_no!}","qq":"${shop.qq!}"}'/>
									   	${shop.shopname!}
									   	<br/>
									 
									</td>
									<td>
									${shop.micro_signal!}
									</td>
									<td>
									${shop.public_no!}
									</td>
									<td>
									${shop.iphone_no!}
									</td>
									<td>
									${shop.qq!}
									</td>
									<td>
									  <a href="${ctx}/admin/shop/setshop/edit/${shop.id!}"    class="btn btn-info">编辑</a>  
									  <a href="javascript:;"  name="del"    class="btn btn-danger">删除</a>
									</td>
								</tr>
							<%}%>
						</table>
						</div>
						<div id="bottomdiv">
				       		<%
							include("/admin/common/_page.html",{
							    uri : '/jd_fruit/admin/shop/setshop/list',
							    page : shoplists
							}){}
							%> 
					    </div>
				 </div><!-- /.page-content -->
				</div><!-- /.main-content -->
				<% include("/admin/common/acesetting.html"){}%>
			</div><!-- /.main-container-inner -->
		</div><!-- /.main-container -->
	<% include("/admin/common/footer.html"){} %>
	<% include("/admin/resource/common_js.html"){} %>
    <script type="text/javascript" src="${ctx!}/plugin/zTree/js/TreeGrid.js"></script>  
    <script type="text/javascript" src="${ctx!}/plugin/zTree/js/jquery.ztree.core-3.5.js"></script>   
     	<script src="${ctx}/js/admin/setshop.js"></script>
	</body>
</html>
